import request from '@/utils/request'

/** BusGps */
export function listdata(params) {
  return request({
    url: '/bus/meetingRoom/listdata',
    params
  })
}

export function hyapList(params) {
  return request({
    url: `/zfw/hyap/list`,
    params
  })
}

export function hyapInfo(id) {
  return request({
    url: `/zfw/hyap/${id}`,
  })
}

export function hyapUpdate(data) {
  return request({
    url: `/zfw/hyap/update`,
    method: 'post',
    data
  })
}

export function hyapSave(data) {
  return request({
    url: `/zfw/hyap/save`,
    method: 'post',
    data
  })
}

export function hyapDelete(id) {
  return request({
    url: `/zfw/hyap/delete/${id}`,
    method: 'post'
  })
}
